#pragma once
#include "base_io_port.h"

class TcpServerPort : public BaseIoPort
{
public:
	TcpServerPort(int maxTxFifoSize);
	~TcpServerPort();

	//父类中已经是纯虚函数，不必vritual 更不必override
	int32_t Open(string name, int32_t param);
	int32_t Close();
	virtual void Start();

private:
    void Listen();

    event_fd_def mServerFd{0};
};